package com.plian.system.vo.sys;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.plian.Tools.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "业务组织 历史版本")
public class BaseServiceOrgRecordVO {

    @ApiModelProperty("业务组织名称")
    private String serviceOrgName;

    @JsonFormat(pattern = DateUtil.PATTERN_DATE, timezone = "Asia/Shanghai")
    @ApiModelProperty("创建时间")
    private Date createTime;

    @JsonFormat(pattern = DateUtil.PATTERN_DATE, timezone = "Asia/Shanghai")
    @ApiModelProperty(value = "生效时间")
    private Date effectiveTime;

    @JsonFormat(pattern = DateUtil.PATTERN_DATE, timezone = "Asia/Shanghai")
    @ApiModelProperty(value = "失效时间")
    private Date failureTime;

    @ApiModelProperty(value = "修改节点名称")
    private String changeOrgName;
}
